import Vue from 'vue'
import Vuex from 'vuex'
import axios from 'axios'
import user from './user/index.js'
import book from './book/index.js'

 axios.defaults.baseURL = 'http://localhost/api.php'
    Vue.use(Vuex)

    
const store = new Vuex.Store({
   modules:{
       user,book
   }
})

export default store